import Vue from 'vue'
import Router from 'vue-router'
import CreateTask from '@/components/CreateTask'
import TaskList from '@/components/TaskList'
import FrameMark from '@/components/FrameMark'
import TestPage from '@/components/TestPage'
import SplitPanel from '@/components/SplitPanel'
import HelpPage from '@/components/HelpPage'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/createTask',
      name: 'createTask',
      component: CreateTask
    },
    {
      path: '/taskList',
      name: 'taskList',
      component: TaskList
    },
    {
      path: '/frameMark',
      name: 'frameMark',
      component: FrameMark
    },
    {
      path: '/test',
      name: 'test',
      component: TestPage
    },
    {
      path: '/splitPanel',
      name: 'splitPanel',
      component: SplitPanel
    },
    {
      path: '/help',
      name: 'help',
      component: HelpPage
    },
    {
      path: '/',
      name: 'help',
      component: HelpPage
    }
  ]
})
